/**
 * Copyright &copy; 2013-2016 山东易科德软件有限公司 All rights reserved.
 */
package cn.net.ecode.modules.cms.dao;

import java.util.List;

import cn.net.ecode.common.persistence.CrudDao;
import cn.net.ecode.common.persistence.annotation.MyBatisDao;
import cn.net.ecode.modules.cms.entity.Category;
import cn.net.ecode.modules.cms.entity.CategoryRole;

/**
 * 栏目授权DAO接口
 * @author jiangwenchao
 * @version 2014-12-25
 */
@MyBatisDao
public interface CategoryRoleDao extends CrudDao<CategoryRole> {

	int deleteByRole(CategoryRole categoryRole);

	List<Category> findCategoryBySite(Category category);

	List<String> findRoleCategory(CategoryRole categoryRole);

	void insertBatch(CategoryRole categoryRole);

	
}